<?php
namespace app\index\controller;
use app\model\User as UserModel;
use think\console\command\make\Controller;

class User extends Controller{
    public function add(){
        $request = UserModel::select();
        return json($request);
    }
}